package com.hxk;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * springboot整合listener方式一
 * 通过注解扫描方式
 * @author Cactus
 */
@SpringBootApplication
@ServletComponentScan //使用此注解开启对listener的扫描
public class App {

	public static void main(String[] args) {
		SpringApplication.run(App.class, args);
	}

}
